Add a cast to avoid compiler warnings.
authorMatthias Clasen <mclasen@redhat.com>
Tue, 30 Aug 2005 15:07:12 +0000 (15:07 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 30 Aug 2005 15:07:12 +0000 (15:07 +0000)
commit0aa27306aa6d0cf199b7da521fa2b5fe324213d3
tree5b747d1cae54bc761377f1bcc560c43d6d746201
parent4a481c6d87bfe17753236303ba01447c78c5ef81
Add a cast to avoid compiler warnings.

2005-08-30  Matthias Clasen  <mclasen@redhat.com>

* io-png.c (png_save_to_callback_write_func): Add a cast
to avoid compiler warnings.

* pixops/timescale.c (main): Declare src_buf, dest_buf as
unsigned to avoid compiler warnings.

* gdk-pixbuf-io.h: Declare the prefix and mask members of
GdkPixbufModulePattern as char*, to avoid compiler warnings.

* io-ani.c (ani_load_chunk): Use g_try_new() in some places.
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-io.c
gdk-pixbuf/gdk-pixbuf-io.h
gdk-pixbuf/io-ani.c
gdk-pixbuf/io-png.c
gdk-pixbuf/pixops/timescale.c